import mrData from "./MenuRouterData";

const Layout = () => import("@/views/_Layout/_Layout.vue");
const Login = () => import("@/views/Login.vue");
const SupLogin = () => import("@/views/SupLogin.vue");
const Error = () => import("@/views/_Layout/_Error.vue");
const Dashboard = () => import("@/views/Home/Dashboard.vue");
const WireQrCodeTemplate = () => import("@/views/wi/UsingWirerope/WireQrCodeTemplate.vue");

const pages: any = [
    { path: "/login", name: "login", component: Login },
    { path: "/suplogin", name: "suplogin", component: SupLogin },
    { path: "/error", name: "error", component: Error },
    { path: "/dashboard", name: "dashboard", component: Dashboard },
    { path: "/wireQrCodeTemplate", name: "wireQrCodeTemplate", component: WireQrCodeTemplate },
    {
        path: "/",
        component: Layout,
        children: [...mrData],
    },
];

export default pages;
